<!DOCTYPE html>
<html lang="en">
    
    <head>
        <title><?php e($this->settings_lib->item('site.title')); ?></title>
         <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta charset="utf-8">
       <script src="http://code.jquery.com/jquery.js"></script>
        <?php echo theme_view('parts/head'); ?>
        <!--[if lt IE 7]>
            <link rel="stylesheet" href="<?php echo Template::theme_url('css/ie6.css') ?>" type="text/css" media="all">
        <![endif]-->
        <!--[if lt IE 9]>
            <script type="text/javascript" src="<?php echo Template::theme_url('js/html5.js') ?>"></script>
            <script type="text/javascript" src="<?php echo Template::theme_url('js/IE9.js') ?>"></script>
        <![endif]-->
    </head>
    
    <body>
        <!-- START PAGE SOURCE -->
        <header>
            <div class="container">
                 <h1><a href="#">Design Company</a></h1>

                <nav>
                    <ul>
                        <li><a href="<?php echo site_url('pages/page')?>" class="current">Home</a>
                        </li>
                        <li><a href="<?php echo site_url('pages/page/about_us')?>">About</a>
                        </li>
                        <li><a href="<?php echo site_url('pages/page/privacy')?>">Privacy</a>
                        </li>
                        <li><a href="<?php echo site_url('blog')?>">Blog</a>
                        </li>
                        <li><a href="<?php echo site_url('pages/page/contact')?>">Contact</a>
                        </li>
                        <li>
                        <?php $this->load->library('users/auth'); 
                        if($this->auth->is_logged_in()):?>
                        	<a href="<?php echo site_url('logout')?>">Logout</a>
                        <?php else :?>
                       		<a href="<?php echo site_url('login')?>">Signin</a>
                       	<?php endif;?>	
                        </li>
                    </ul>
                </nav>
            </div>
        </header>


